Carlos Soriano [Thu, 25 Feb 2016 12:39:23 +0000 (13:39 +0100)]
gtkplacesview: clean up mount server callback
And fix a warning of unused variable.
Reviewed by Nacho on IRC
Matthias Clasen [Thu, 25 Feb 2016 11:18:41 +0000 (06:18 -0500)]
x11: Update seat capabilities
The default seat implementation was never returning capabilities,
which is broken. It is visible too, since the inspector shows seat
information now.
Matthias Clasen [Thu, 25 Feb 2016 06:21:27 +0000 (01:21 -0500)]
inspector: Update for screen config changes
Repopulate the display section whenever the monitor configuration
changes.
Matthias Clasen [Thu, 25 Feb 2016 06:10:23 +0000 (01:10 -0500)]
inspector: Don't show numeric ids
The vendor and product ids for input devices aren't useful
as-is; need to figure out how to translate them to names.
Matthias Clasen [Thu, 25 Feb 2016 05:49:17 +0000 (00:49 -0500)]
inspector: Show more device information
This adds vendor and product id and axes. This reveals that
the GDK backends have quite different quality when it comes
to returning meaningful information here.
Matthias Clasen [Thu, 25 Feb 2016 05:17:09 +0000 (00:17 -0500)]
inspector: Show some basic device information
Add information about seats and their associated devices
in the General tab.
Matthias Clasen [Thu, 25 Feb 2016 03:18:13 +0000 (22:18 -0500)]
gadget: Warn about missing size allocation
When size_allocate is overridden in widgets, but draw is not,
we can end up drawing a gadget that has not been given a size.
Warn about this, and limp along by drawing the gadget over the
full allocation of its owner widget.
https://bugzilla.gnome.org/show_bug.cgi?id=762614
Matthias Clasen [Thu, 25 Feb 2016 02:59:44 +0000 (21:59 -0500)]
x11: More fake tablet blacklisting
Sigh.
Now that we've neutered the QEMU USB tablet, I'm finding that
spice is doing just the same nonsense. It has a fake "spice vdagent
tablet". Blacklist that as well.
Benjamin Otte [Thu, 25 Feb 2016 03:02:39 +0000 (04:02 +0100)]
treeview: Don't make things way too high
If the size-request is larger than the dedicated size, don't increase
the dedicated size by the size request, only increase it to the
size request.
Benjamin Otte [Thu, 25 Feb 2016 02:57:47 +0000 (03:57 +0100)]
textview: Draw the background properly
The background is *not* drawn relative to the clipping area.
Benjamin Otte [Thu, 25 Feb 2016 02:57:11 +0000 (03:57 +0100)]
treeview: Fix positioning of editing widgets
This looks like a thinko.
Claude Paroz [Wed, 24 Feb 2016 19:56:32 +0000 (20:56 +0100)]
Updated French translation
Ben Iofel [Wed, 24 Feb 2016 19:37:35 +0000 (14:37 -0500)]
GtkIMContext: remove broken anchors in documentation
William Hua [Wed, 24 Feb 2016 18:24:14 +0000 (13:24 -0500)]
mir: fix warnings
William Hua [Wed, 24 Feb 2016 18:23:18 +0000 (13:23 -0500)]
mir: fix GdkSeat-related deprecations
Carlos Garnacho [Wed, 24 Feb 2016 16:19:48 +0000 (17:19 +0100)]
GtkTextHandle: Look up for the first child of a scrolled window found
Text handles use to connect to the first GtkScrollable up the hierarchy
so they can be repositioned when scrolling. It makes more sense to look
up the first child of a GtkScrolledWindow, it must be an scrollable too,
and will be the scrollable that can actually change the position of the
text handles.
https://bugzilla.gnome.org/show_bug.cgi?id=761676
Fabrício Godoy [Wed, 24 Feb 2016 15:32:33 +0000 (15:32 +0000)]
Updated Brazilian Portuguese translation
Jordi Mas [Wed, 24 Feb 2016 15:32:23 +0000 (16:32 +0100)]
Update Catalan translation
Matthias Clasen [Wed, 24 Feb 2016 12:23:15 +0000 (07:23 -0500)]
3.19.10
Matthias Clasen [Wed, 24 Feb 2016 12:26:33 +0000 (07:26 -0500)]
Add a release note about theme changes
Fran Dieguez [Wed, 24 Feb 2016 10:07:01 +0000 (11:07 +0100)]
Update Galician translations
Anders Jonsson [Wed, 24 Feb 2016 09:21:02 +0000 (09:21 +0000)]
Updated Swedish translation
Fabrício Godoy [Wed, 24 Feb 2016 06:58:33 +0000 (06:58 +0000)]
Updated Brazilian Portuguese translation
Jean-François Fortin Tam [Sun, 21 Feb 2016 16:45:44 +0000 (11:45 -0500)]
spin button: Use the Ctrl modifier for Home and End key bindings
https://bugzilla.gnome.org/show_bug.cgi?id=309300
Matthias Clasen [Wed, 24 Feb 2016 01:53:23 +0000 (20:53 -0500)]
Add a testcase for revealer size allocation
This was taken from https://bugzilla.gnome.org/show_bug.cgi?id=761760
Timm Bäder [Fri, 19 Feb 2016 12:22:02 +0000 (13:22 +0100)]
revealer: Don't report >0 preferred width...
... if the child is concealed and the transition type is set to NONE.
In this case, both preferred width and preferred height should be 0, but
we still can't use that to allocate a size for the child, so care about
the minimum size of the child in gtk_revealer_get_child_allocation.
https://bugzilla.gnome.org/show_bug.cgi?id=761760
Carlos Soriano [Mon, 22 Feb 2016 15:18:21 +0000 (16:18 +0100)]
gtkplacesview: use location instead of the enclosing one
We were using the enclosing location when connecting to a server, so
for instance if we were connecting to ftp://test/test it would actually
open ftp://test/ instead of the full path.
To fix it, use the full location when emitting the open location signal.
https://bugzilla.gnome.org/show_bug.cgi?id=756659
Carlos Garnacho [Mon, 22 Feb 2016 21:40:50 +0000 (22:40 +0100)]
gdk: Avoid 2/3BUTTON event generation if the source device changes
Remember the last source device we're generating multiple clicks for,
just so we can bail out if the device changed. That will just reset
the counting.
https://bugzilla.gnome.org/show_bug.cgi?id=723659
Carlos Garnacho [Mon, 22 Feb 2016 21:38:56 +0000 (22:38 +0100)]
GtkGestureMultiPress: reset multi-press sequence if the source device changes
This prevents multipress sequences to possibly come from different mice.
Now the accumulated number of presses will be reset if the device changes
in the mean time.
https://bugzilla.gnome.org/show_bug.cgi?id=723659
Carlos Soriano [Wed, 24 Feb 2016 01:29:03 +0000 (20:29 -0500)]
gtkplacessidebar: add open flags to other locations
We weren't using the open flags on the other locations signal, which
makes impossible for applications like nautilus to act in the same
way that for any other location where the user can choose between
opening in the current view, in a new window or in a new tab.
Add the signal missing parameter in order to allow it.
https://bugzilla.gnome.org/show_bug.cgi?id=754743
Fran Dieguez [Tue, 23 Feb 2016 19:50:22 +0000 (20:50 +0100)]
Updated Galician translations
Мирослав Николић [Tue, 23 Feb 2016 09:17:24 +0000 (10:17 +0100)]
Updated Serbian translation
Мирослав Николић [Tue, 23 Feb 2016 09:16:47 +0000 (10:16 +0100)]
Updated Serbian translation
Мирослав Николић [Fri, 19 Feb 2016 17:35:32 +0000 (18:35 +0100)]
Updated Serbian translation
Theppitak Karoonboonyanan [Tue, 23 Feb 2016 07:46:39 +0000 (14:46 +0700)]
Updated Thai translation
Benjamin Otte [Tue, 23 Feb 2016 03:21:10 +0000 (04:21 +0100)]
entry: Make the get_text_area() vfunc relative to top left of entry
This fixes GdTaggedEntry. I hope.
Benjamin Otte [Tue, 23 Feb 2016 03:19:42 +0000 (04:19 +0100)]
cssparser: Make _gtk_css_parser_has_number() a bit smarter
Previously we just checked the first character. And if that was a "-" as
in "-gtk-some-special-value", we assumed it was a number. Which it
clearly wasn't.
Test included
Benjamin Otte [Tue, 23 Feb 2016 03:18:53 +0000 (04:18 +0100)]
csscolorvalue: Print a comma for win32 values
Benjamin Otte [Mon, 22 Feb 2016 20:38:03 +0000 (21:38 +0100)]
container: Request layout again depending on layout mode
Containers with RESIZE_MODE_PARENT should never request layout and those
with RESIZE_MODE_IMMEDIATE should only request it for updating CSS.
Fixes clutter embeds (like the tray icon embed in gnome-shell)
continuously requesting relayout when all they want to do is relegate
relayout to Clutter.
https://bugzilla.gnome.org/show_bug.cgi?id=758893
Chao-Hsiung Liao [Tue, 23 Feb 2016 02:51:35 +0000 (02:51 +0000)]
Updated Chinese (Taiwan) translation
Paolo Borelli [Mon, 22 Feb 2016 20:20:18 +0000 (21:20 +0100)]
Win32: fix warning
Paolo Borelli [Mon, 22 Feb 2016 16:55:16 +0000 (17:55 +0100)]
wip _gdk_display
Paolo Borelli [Mon, 22 Feb 2016 20:01:24 +0000 (21:01 +0100)]
Win32: fold the gdkinput.c file in gdkdisplay-win32.c
This is similar to what is done in the X11 and wayland backends.
It also gets rid of the _gdk_input_devices global variable
Paolo Borelli [Mon, 22 Feb 2016 17:51:30 +0000 (18:51 +0100)]
Win32: remove leftover function
gdk_devices_list was removed from the API in 3.0 and it is not
in the headers. The win32 implementation lingered on by mistake.
Jordi Mas [Mon, 22 Feb 2016 19:42:44 +0000 (20:42 +0100)]
Update Catalan translation
Piotr Drąg [Mon, 22 Feb 2016 19:36:28 +0000 (20:36 +0100)]
Updated POTFILES.skip
Chun-wei Fan [Mon, 22 Feb 2016 14:23:26 +0000 (22:23 +0800)]
MSVC 2008 builds: Fix previous commit
The previous commit had the MSVC 2008 property sheet in the wrong place.
Fix that.
Lapo Calamandrei [Mon, 22 Feb 2016 10:29:43 +0000 (11:29 +0100)]
Adwaita: avoids up pointing scale slider to jump down on hover
and comment back sass debugging stuff in the process...
Lapo Calamandrei [Mon, 22 Feb 2016 10:16:32 +0000 (11:16 +0100)]
Adwaita: fix scale with marks sliders
looks like sass was confused by the way I structured the loops,
this works that around.
Lapo Calamandrei [Mon, 22 Feb 2016 09:54:32 +0000 (10:54 +0100)]
Adwaita: color scale slider fixes
use the pointy slider on colorscales, this way it picks the
correct slider on rtl.
Chun-wei Fan [Mon, 22 Feb 2016 09:38:15 +0000 (17:38 +0800)]
Windows: Update how gtk-win32.rc is generated
On Visual Studio, unlike MinGW, manifest files are embedded via
including the manifest file as a resource file in the projects, not
via the .rc file. This means that the line in the .rc file that
specifies the manifest file would cause trouble, so that line gets
removed when the full gtk3-win32.rc is generated on Visual Studio builds,
otherwise 2010+ Visual Studio will complain when compiling the .rc file.
Also, the inclusion of winuser.h will cause warnings during the
compilation of the .rc file.
Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to
gtk-win32.rc.body.in and:
-On MinGW, construct the full gtk-win32.rc by doing the winver.h and
winuser.h inclusion first, then append the contents of gtk-win32.rc.body,
and then appending the line to embed the manifest file.
-On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc,
and generate the full libgtk3.manifest file.
https://bugzilla.gnome.org/show_bug.cgi?id=762311
Benjamin Otte [Mon, 22 Feb 2016 03:16:36 +0000 (04:16 +0100)]
win32 theme: Make tooltips look right
Includes adding fallback support
Benjamin Otte [Mon, 22 Feb 2016 03:01:44 +0000 (04:01 +0100)]
win32 theme: Size titlebar icons correctly.
Sizing according to
http://web.archive.org/web/
20070301202835/http://shellrevealed.com/photos/blog_images/images/4538/original.aspx
Benjamin Otte [Mon, 22 Feb 2016 03:00:36 +0000 (04:00 +0100)]
win32draw: Use the right checks
The first check was the wrong way around.
The second check made the function look wrong. Invalid ID is actually
the special case that should be handled first, so write the function
like that.
Benjamin Otte [Sun, 21 Feb 2016 23:50:01 +0000 (00:50 +0100)]
win32 theme: Replace metric ids with metric names
Makes it more obvious what's actually happening.
Benjamin Otte [Sun, 21 Feb 2016 23:49:36 +0000 (00:49 +0100)]
csssizevalue: Allow using the name for a win32 metric
... instead of just the ID.
Benjamin Otte [Sun, 21 Feb 2016 23:49:09 +0000 (00:49 +0100)]
win32: Allow querying names for metrics
Benjamin Otte [Sun, 21 Feb 2016 22:40:34 +0000 (23:40 +0100)]
win32 theme: Replace color ids with color names
Makes it more obvious what's actually happening.
Benjamin Otte [Sun, 21 Feb 2016 22:40:04 +0000 (23:40 +0100)]
csscolor: Allow using the name for a win32 color
... instead of just the ID.
Benjamin Otte [Sun, 21 Feb 2016 22:39:38 +0000 (23:39 +0100)]
win32: Allow querying names for colors
Allin Cottrell [Mon, 22 Feb 2016 00:22:27 +0000 (16:22 -0800)]
Fix Quartz Full Screen Crash.
John Ralls [Mon, 22 Feb 2016 00:17:46 +0000 (16:17 -0800)]
Fix typo.
Benjamin Otte [Sun, 21 Feb 2016 19:43:18 +0000 (20:43 +0100)]
win32 fallback: Draw window title button images
Taken from Wine's Marlett font.
Benjamin Otte [Sun, 21 Feb 2016 05:03:43 +0000 (06:03 +0100)]
win32 theme: Sanitize a few colors
Benjamin Otte [Sun, 21 Feb 2016 04:37:40 +0000 (05:37 +0100)]
win32 fallback: Add code to draw titlebars
Benjamin Otte [Sun, 21 Feb 2016 03:59:13 +0000 (04:59 +0100)]
win32 fallback: Warn if we don't know how to draw a part
Benjamin Otte [Sun, 21 Feb 2016 03:56:18 +0000 (04:56 +0100)]
win32: Implement GetSystemMetric() fallbacks
Default values taken from Wine.
Benjamin Otte [Sun, 21 Feb 2016 03:55:55 +0000 (04:55 +0100)]
win32: Move variable definition to not cause gcc warning
It's only used on win32, so only define it there.
A S Alam [Sun, 21 Feb 2016 15:31:14 +0000 (09:31 -0600)]
updated Punjabi Translation
A S Alam [Sun, 21 Feb 2016 15:31:06 +0000 (09:31 -0600)]
updated Punjabi Translation
Matthias Clasen [Sun, 21 Feb 2016 05:55:41 +0000 (00:55 -0500)]
Adwaita: Drop decoration.ssd selector
We've settled on window.ssd decoration instead.
https://bugzilla.gnome.org/show_bug.cgi?id=760714
Matthias Clasen [Sun, 21 Feb 2016 05:48:56 +0000 (00:48 -0500)]
Add a release note about drawingarea background
Matthias Clasen [Sun, 21 Feb 2016 05:46:54 +0000 (00:46 -0500)]
drawingarea: Update docs around background handling
The behavior changed this cycle. Update the docs to recommend
an explicit gtk_render_background call.
Matthias Clasen [Sun, 21 Feb 2016 05:09:32 +0000 (00:09 -0500)]
print dialog: More baseline alignment
Some places were missing the right valign setting to make
baselines line up properly.
Matthias Clasen [Sun, 21 Feb 2016 03:43:43 +0000 (22:43 -0500)]
dnd: Avoid a crash
gtk_image_definition_new_icon_name ("") returns NULL. Bail
out early in this case to avoid unreffing NULL later.
https://bugzilla.gnome.org/show_bug.cgi?id=762392
Matthias Clasen [Sun, 21 Feb 2016 03:23:28 +0000 (22:23 -0500)]
css gadget: Adjust baselines for min-height
We were forcing the size to be at least min-height, but we left the
baselines as they were, which had the effect of making text e.g
in entries 'stick to the top'.
With this change, we adjust the baseline to keep the ratio of
baseline to height unchanged.
Benjamin Otte [Fri, 19 Feb 2016 08:02:21 +0000 (09:02 +0100)]
win32 theme: Add rudimentary titlebar support
Benjamin Otte [Fri, 19 Feb 2016 08:01:43 +0000 (09:01 +0100)]
win32: Handle size queries for all values
Fall back to GetSystemMetrics() whenever GetThemeSysSize() didn't work.
Benjamin Otte [Fri, 19 Feb 2016 08:00:24 +0000 (09:00 +0100)]
win32: Add missing break in switch statement
Oops.
Benjamin Otte [Sun, 21 Feb 2016 00:02:15 +0000 (01:02 +0100)]
css: Make outline-offset animatable
CSS claims it should be, so we make it.
Benjamin Otte [Sun, 21 Feb 2016 00:01:41 +0000 (01:01 +0100)]
renderborder: Add API to query the outline clip
And use it in implementation of gadgets.
Benjamin Otte [Sat, 20 Feb 2016 23:56:31 +0000 (00:56 +0100)]
css: Mark outline properties as affecting clip when they do
Matthias Clasen [Sat, 20 Feb 2016 23:55:17 +0000 (18:55 -0500)]
entry: Fix baseline allocation
Position the text on the baseline again.
Matthias Clasen [Sat, 20 Feb 2016 21:41:53 +0000 (16:41 -0500)]
box: Fix rtl allocation with center widget
The code for adjusting the center widget allocation in case
of uneven sides never worked right in RTL. This was finally
noticed for tabs with close button, which commonly use a
centered label.
Lapo Calamandrei [Sat, 20 Feb 2016 18:52:46 +0000 (19:52 +0100)]
Adwaita: remove unused selector in _common.scss
Lapo Calamandrei [Sat, 20 Feb 2016 18:50:49 +0000 (19:50 +0100)]
Revert "Adwaita: resurrect scale-has-marks-above/below classes"
This reverts commit
edcc0c27837955573d159af6fa58e62f402d684b.
Since the colorscale styling is wrong in rtl, need to do things
differntly.
Lapo Calamandrei [Sat, 20 Feb 2016 18:37:21 +0000 (19:37 +0100)]
Adwaita: move 1px up the check asset
Lapo Calamandrei [Sat, 20 Feb 2016 18:31:58 +0000 (19:31 +0100)]
Adwaita: fix entry progressbar
it now moves using the whole entry lenght, in the process the
style was tweaked to not need a special case for focused entries.
Matthias Clasen [Sat, 20 Feb 2016 16:26:19 +0000 (11:26 -0500)]
assistant: Add margin to action area
We are no longer setting a margin on the content area, so put
one on the action area itself to prevent the buttons from touching
the edge.
https://bugzilla.gnome.org/show_bug.cgi?id=762315
Lapo Calamandrei [Sat, 20 Feb 2016 16:17:39 +0000 (17:17 +0100)]
Adwaita: resurrect scale-has-marks-above/below classes
the colorscales use said classes.
Matthias Clasen [Sat, 20 Feb 2016 16:17:12 +0000 (11:17 -0500)]
expander: Draw focus again
This was lost when GtkExpander was ported to use box gadgets.
Matthias Clasen [Sat, 20 Feb 2016 15:45:07 +0000 (10:45 -0500)]
check button: Draw focus again
The box gadget now has API for this; use it.
Matthias Clasen [Sat, 20 Feb 2016 15:43:54 +0000 (10:43 -0500)]
box gadget: Make it possible to draw focus
There are widgets which use a box gadget and take focus,
like GtkCheckButton.
Matthias Clasen [Sat, 20 Feb 2016 15:19:13 +0000 (10:19 -0500)]
x11: Some cleanups to the multihead initialization
The significant change here is a memory leak fix in init_xrandr15.
The rest of the changes makes init_xrandr13 and init_xrandr15 more
parallel, and simplifies init_multihead.
Marco Trevisan (Treviño) [Sat, 20 Feb 2016 00:31:59 +0000 (01:31 +0100)]
X11, GdkScreen: properly implement init_randr15 including output name
https://bugzilla.gnome.org/show_bug.cgi?id=762319
Lapo Calamandrei [Sat, 20 Feb 2016 15:07:00 +0000 (16:07 +0100)]
Adwaita: scale slider assets refresh
...and update the theme accordingly.
Benjamin Otte [Sat, 20 Feb 2016 02:22:58 +0000 (03:22 +0100)]
entry: Make get_text_area_size() vfunc work again
GdTaggedEntry needs that. Though there's probably a bunch of work left
inside GdTaggedEntry to make it look cute again (like storing the area
it reserves for itself to allocate tags in).
Lapo Calamandrei [Fri, 19 Feb 2016 17:03:38 +0000 (18:03 +0100)]
Adwaita: check/radio/slider gradient tweaks
Carlos Garnacho [Sat, 6 Feb 2016 14:07:52 +0000 (15:07 +0100)]
wayland: Implement gtk_shell.set_startup_id
Fetch the DESKTOP_STARTUP_ID envvar at the same point it's done
for the X11 backend, and notify the startup ID gotten on
notify_startup_complete().
Carlos Garnacho [Sat, 6 Feb 2016 14:06:59 +0000 (15:06 +0100)]
wayland: Update gtk-shell protocol to v3
Add a gtk_shell.set_startup_id request, so the application can communicate
to the compositor the startup id that it received through the
DESKTOP_STARTUP_ID envvar, or other means.